package com.spcloud.msg;

import com.spcloud.msg.kafka.MessageBinder;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * @author GuoChunbo
 * @create 2020-02-27 9:09
 * @Description: 类的描述
 */
@SpringCloudApplication
@EnableBinding(MessageBinder.class) //开启通道绑定规则
public class MsgApplication {

    public static void main(String[] args) {
        SpringApplication.run(MsgApplication.class,args);
    }
}
